<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<?php foreach ($manager_list as $k => $v) { ?>
    <div class="panel panel-default">
        <div class="panel-body">
            <div style="text-align: center">
                <?php echo $v['title']; ?>
            </div>
            <div style="float:left;text-align: center;margin-top: 20px;width: 33.3%;">
                <?php if ($v['is_received'] == 0) { ?>
                    <button type="button" class="btn btn-default" disabled="disabled"
                            style="width: 82px;">
                        未领取
                    </button>
                <?php } elseif ($v['is_received'] == 1) { ?>
                    <button id="btn_receive_<?php echo $v['id']; ?>" type="button"
                            class="btn btn-default btn-danger" style="width: 82px;"
                            data-toggle="modal" data-target=".bs-example-modal-sm"
                            onclick="setChangeReceivedStatusInformation(<?php echo $v['id']; ?> , <?php echo $v['translation_article_id']; ?>)">
                        已领取
                    </button>
                <?php } elseif ($v['is_received'] == 2) { ?>
                    <button type="button" class="btn btn-default btn-success" disabled="disabled"
                            onclick="a()"
                            style="width: 82px;">已领取
                    </button>
                <?php } ?>
            </div>
            <div style="float:left;text-align: center;margin-top: 20px;width: 33.3%;">
                <?php if ($v['is_translationed'] == 0) { ?>
                    <button type="button" class="btn btn-default" disabled="disabled"
                            style="width: 82px;">
                        未翻译
                    </button>
                <?php } elseif ($v['is_translationed'] == 1) { ?>
                    <button type="button" class="btn btn-default btn-primary" disabled="disabled"
                            style="width: 82px;">翻译中
                    </button>
                <?php } elseif ($v['is_translationed'] == 2) { ?>
                    <button type="button" class="btn btn-default btn-success" disabled="disabled"
                            style="width: 82px;">已翻译
                    </button>
                <?php } ?>
            </div>
            <div style="float:left;text-align: center;margin-top: 20px;width: 33.3%;">
                <?php if ($v['is_proofreaded'] == 0) { ?>
                    <button type="button" class="btn btn-default btn-default" disabled="disabled"
                            style="width: 82px;">未校对
                    </button>
                <?php } elseif ($v['is_proofreaded'] == 1) { ?>
                    <button type="button" class="btn btn-default btn-primary" disabled="disabled"
                            style="width: 82px;">校对中
                    </button>
                <?php } elseif ($v['is_proofreaded'] == 2) { ?>
                    <button type="button" class="btn btn-default btn-success" disabled="disabled"
                            style="width: 82px;">已校对
                    </button>
                <?php } ?>
            </div>
        </div>
    </div>
<?php } ?>
</body>
</html>